<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
   	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
   	xmlns:f="http://xmlns.jcp.org/jsf/core"
   	xmlns:h="http://xmlns.jcp.org/jsf/html"
   	xmlns:p="http://primefaces.org/ui"   
   	xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">	
   	
		<h:panelGrid columns="2"  cellpadding="5" columnClasses="label, value">
			 <p:outputLabel style="color: red; font-size: 1.2em; font-weight: bold;" value="中选中介" rendered="#{not empty bulletinHome3.instance.successTrade &amp;&amp; param.showSupplier}" />				
				<h:outputText  style="color: red; font-size: 1.2em; font-weight: bold;" value="#{bulletinHome3.instance.successTrade.supplier.cnname}" rendered="#{not empty bulletinHome3.instance.successTrade &amp;&amp; param.showSupplier }" />
			<p:outputLabel for="bulletinTitle" value="公告标题" />				
			<h:outputText id="bulletinTitle" value="#{bulletinHome3.instance.title}" required="true" />
			<p:outputLabel for="bulletinProjectName" value="采购项目名称" />				
			<h:outputText id="bulletinProjectName" value="#{bulletinHome3.instance.projectName}"  required="true" />
			
			<p:outputLabel for="bulletinAmountOfInvestment" value="项目总投资（元）" />				
			<h:outputText id="bulletinAmountOfInvestment" minValue="0" value="#{bulletinHome3.instance.amountOfInvestment}"  >
				<f:convertNumber minFractionDigits="2" maxFractionDigits="2"/>
			</h:outputText>
			
			<p:outputLabel for="bulletinPrice" value="服务金额（元）" />				
			<h:outputText id="bulletinPrice" value="#{bulletinHome3.instance.price}" minValue="0" >
      				<f:convertNumber minFractionDigits="2" maxFractionDigits="2"/>
      		</h:outputText>
			
			<p:outputLabel for="bulletinPriceRemark" value="服务金额说明" />				
			<h:outputText   id="bulletinPriceRemark"  value="#{bulletinHome3.instance.priceRemark}" />
			
			<p:outputLabel for="bulletinContent" value="服务内容" />				
			<h:outputText 	id="bulletinContent" value="#{bulletinHome3.instance.content}"  required="true" />
			
			<p:outputLabel for="bulletinProjectInfo" value="项目建设内容" />				
			<h:outputText  id="bulletinProjectInfo" value="#{bulletinHome3.instance.projectInfo}"  required="true" />
			
			<p:outputLabel for="bulletinReqRemark" value="公告要求说明" />				
			<h:outputText  id="bulletinReqRemark" value="#{bulletinHome3.instance.reqRemark}"  />
							
		 	<p:outputLabel for="bulletinLimitOfTime" value="合同约定完成时限" />
		 	<p:outputPanel id="bulletinLimitOfTime">
				<h:outputText  value="#{bulletinHome3.instance.limitOfTime}" />
				<h:outputText  value="#{bulletinHome3.instance.limitUnit.typeName}" />
			</p:outputPanel>
			
			<p:outputLabel for="bulletinLimitRemark" value="合同约定完成时限说明" />				
			<h:outputText id="bulletinLimitRemark" value="#{bulletinHome3.instance.limitRemark}"   />
			
			<p:outputLabel for="bulletinWayOfPayment" value="付款方式" />				
			<h:outputText id="bulletinWayOfPayment" value="#{bulletinHome3.instance.wayOfPayment}"  required="true" />
								
			<p:outputLabel for="bulletieWayOfChoose" value="选取方式" />
			<h:outputText id="bulletieWayOfChoose" value="#{bulletinHome3.instance.wayOfChoose.typeName}"  />	
			
			<p:outputLabel for="bulletinEndingApplyTime" value="截止报名时间" />	
			<h:outputText id="bulletinEndingApplyTime" value="#{bulletinHome3.instance.endingApplyTime}" >
				<f:convertDateTime  pattern="yyyy-MM-dd HH:mm"/>
			</h:outputText>
			
			<p:outputLabel for="bulletinAddressOfChoose" value="公开选取中介地址" />				
			<h:outputText id="bulletinAddressOfChoose" value="#{bulletinHome3.instance.addressOfChoose}"  styleClass="input-large"  required="true" />
			
			<p:outputLabel for="bulletinChooseTime" value="开始选取时间" />		
			<h:outputText id="bulletinChooseTime" value="#{bulletinHome3.instance.chooseTime}" >
				<f:convertDateTime  pattern="yyyy-MM-dd HH:mm"/>
			</h:outputText>
			
			<p:outputLabel for="bulletinOverTime" value="成交日期" />		
			<h:outputText id="bulletinOverTime" value="#{bulletinHome3.instance.overTime}" >
				<f:convertDateTime  pattern="yyyy-MM-dd HH:mm"/>
			</h:outputText>
			
			<p:outputLabel for="bulletinTeleOfConsult" value="咨询电话" />				
			<h:outputText id="bulletinTeleOfConsult" value="#{bulletinHome3.instance.teleOfConsult}"  required="true" />
			
			<p:outputLabel for="bulletinTeleOfSupervise" value="监督电话" />				
			<h:outputText id="bulletinTeleOfSupervise" value="#{bulletinHome3.instance.teleOfSupervise}"  required="true" />
			
			<p:outputLabel value="相关附件" />
		 	<p:outputPanel>
		 		<ui:include src="/WEB-INF/templates/include/bulletinAttachments.xhtml" />
		 	</p:outputPanel>
			
		</h:panelGrid>
</ui:composition>